package com.examination.mlib.baseold;

public class HomePopupEntity {
    //    {
//        "status":"200", "data":{
//        "agreementPopupSign":false, "imPopupSign":false, "activityPopupSign":false, "content":
//        null, "activityPopupImage":null, "activityJumpType":null, "activityJumpUrl":null
//    }
//    }
    private int code;
    private boolean result;
    private Data data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    /**
     * agreementPopupSign
     * boolean	协议弹窗标志；true弹窗，false不弹窗
     * <p>
     * imPopupSign
     * boolean	 im信息弹窗标志；true弹窗，false不弹窗
     * <p>
     * activityPopupSign
     * boolean	活动弹窗；true弹窗，false不弹窗
     * <p>
     * content
     * String	im弹窗内容
     * <p>
     * activityPopupImage
     * String	活动弹窗图片
     * <p>
     * activityJumpType
     * String	活动弹窗跳转类型；1网页，2活动弹出
     * <p>
     * activityJumpUrl
     * String	活动弹窗跳转url
     */
    public class Data {

        private boolean agreementPopupSign;
        private boolean remindPopupSign;
        private boolean imPopupSign;
        private boolean activityPopupSign;
        private String content;
        private String activityPopupImage;
        private String activityJumpType;
        private String activityJumpUrl;
        private String applyType;
        private HomePagePopupAnswerVO homePagePopupAnswerVO;
        private String patientPopupId;
        private String remindContent;
        private HomePagePopupRemindVO homePagePopupRemindVO;

        public boolean isRemindPopupSign() {
            return remindPopupSign;
        }

        public void setRemindPopupSign(boolean remindPopupSign) {
            this.remindPopupSign = remindPopupSign;
        }

        public String getApplyType() {
            return applyType;
        }

        public void setApplyType(String applyType) {
            this.applyType = applyType;
        }

        public String getRemindContent() {
            return remindContent;
        }

        public void setRemindContent(String remindContent) {
            this.remindContent = remindContent;
        }

        public HomePagePopupRemindVO getHomePagePopupRemindVO() {
            return homePagePopupRemindVO;
        }

        public void setHomePagePopupRemindVO(HomePagePopupRemindVO homePagePopupRemindVO) {
            this.homePagePopupRemindVO = homePagePopupRemindVO;
        }

        public boolean isAgreementPopupSign() {
            return agreementPopupSign;
        }

        public void setAgreementPopupSign(boolean agreementPopupSign) {
            this.agreementPopupSign = agreementPopupSign;
        }

        public boolean isImPopupSign() {
            return imPopupSign;
        }

        public void setImPopupSign(boolean imPopupSign) {
            this.imPopupSign = imPopupSign;
        }

        public boolean isActivityPopupSign() {
            return activityPopupSign;
        }

        public void setActivityPopupSign(boolean activityPopupSign) {
            this.activityPopupSign = activityPopupSign;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getActivityPopupImage() {
            return activityPopupImage;
        }

        public void setActivityPopupImage(String activityPopupImage) {
            this.activityPopupImage = activityPopupImage;
        }

        public String getActivityJumpType() {
            return activityJumpType;
        }

        public void setActivityJumpType(String activityJumpType) {
            this.activityJumpType = activityJumpType;
        }

        public String getActivityJumpUrl() {
            return activityJumpUrl;
        }

        public void setActivityJumpUrl(String activityJumpUrl) {
            this.activityJumpUrl = activityJumpUrl;
        }

        public HomePagePopupAnswerVO getHomePagePopupAnswerVO() {
            return homePagePopupAnswerVO;
        }

        public void setHomePagePopupAnswerVO(HomePagePopupAnswerVO homePagePopupAnswerVO) {
            this.homePagePopupAnswerVO = homePagePopupAnswerVO;
        }

        public String getPatientPopupId() {
            return patientPopupId;
        }

        public void setPatientPopupId(String patientPopupId) {
            this.patientPopupId = patientPopupId;
        }
    }

    public class HomePagePopupAnswerVO{
//        platformActivitiesId	Long	平台活动ID
//        currentTime	Date	当前时间
//        answerOption	Boolean	正确答案选项：0(false)，1(true)
//        platformActivitiesSubjectId	Long	题目主键ID
//        subjectTitle	String	题目标题
        private String platformActivitiesId;
        private long currentTime;
        private String answerOption;
        private String platformActivitiesSubjectId;
        private String subjectTitle;

        public String getPlatformActivitiesId() {
            return platformActivitiesId;
        }

        public void setPlatformActivitiesId(String platformActivitiesId) {
            this.platformActivitiesId = platformActivitiesId;
        }

        public long getCurrentTime() {
            return currentTime;
        }

        public void setCurrentTime(long currentTime) {
            this.currentTime = currentTime;
        }

        public String getAnswerOption() {
            return answerOption;
        }

        public void setAnswerOption(String answerOption) {
            this.answerOption = answerOption;
        }

        public String getPlatformActivitiesSubjectId() {
            return platformActivitiesSubjectId;
        }

        public void setPlatformActivitiesSubjectId(String platformActivitiesSubjectId) {
            this.platformActivitiesSubjectId = platformActivitiesSubjectId;
        }

        public String getSubjectTitle() {
            return subjectTitle;
        }

        public void setSubjectTitle(String subjectTitle) {
            this.subjectTitle = subjectTitle;
        }
    }

    public static class HomePagePopupRemindVO{
        String orderId;
        int periodsIndex;
        String regularNo;

        public HomePagePopupRemindVO(String orderId, int periodsIndex, String regularNo) {
            this.orderId = orderId;
            this.periodsIndex = periodsIndex;
            this.regularNo = regularNo;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public int getPeriodsIndex() {
            return periodsIndex;
        }

        public void setPeriodsIndex(int periodsIndex) {
            this.periodsIndex = periodsIndex;
        }

        public String getRegularNo() {
            return regularNo;
        }

        public void setRegularNo(String regularNo) {
            this.regularNo = regularNo;
        }
    }
}
